﻿using System;
using System.Xml.Serialization;
using System.IO;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TransactionServer.General_Classes;

namespace TransactionServer.Connectors.Test
{
    [TestClass]
    public class SharepointTest
    {
        [TestMethod]
        public void TestXML()
        {
            var serializer = new XmlSerializer(typeof(Event));


            string xml = File.ReadAllText(@"D:\Проекты\TFS\trunk\TransactionServer\OSConnectorTests\bin\Debug\RGData_data.xml");
            StringReader sr = new StringReader(xml);
            Event evnt = (Event)serializer.Deserialize(sr);
        }
    }
}
